package com.itany.hotel.dao;

import com.itany.hotel.entity.Subscription;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SubscriptionMapper {

    // public List<Subscription> selectByMidAndStatuses(@Param("mid") Integer mid, @Param("statuses") String[] statues);

    public List<Subscription> selectByMidAndStatuses(Integer mid, String[] statues);



    int deleteByPrimaryKey(Integer id);

    int insert(Subscription record);

    int insertSelective(Subscription record);

    Subscription selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Subscription record);

    int updateByPrimaryKey(Subscription record);
}